<template>
  <div id="utils">
    <tab :tabs="tabs" :perm="perm" :map="map" v-if="$store.getters.menu!='newmenu'" />
    <div class="router-view-3">
      <keep-alive>
        <router-view />
      </keep-alive>
    </div>
  </div>
</template>

<script>
  export default {
    data(){
      return {
        tabs: this.$t('utils.tabs'),
        map: ['tool_diagnose', 'tool_site_survey'],
      }
    },
    computed:{
      perm: {
        get() {
          return this.$store.state.info.perm.tool
        }
      }
      // tabs(){
      //   return this.$t('utils.tabs')
      // }
    },
    methods: {

    },
    created() {
      this.$emit('changeIdx', 6)
    }
  }
</script>

<style lang="scss" scoped>

</style>
